package com.github.io.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.io.entity.User;
import com.github.io.mapper.UserMapper;
import com.github.io.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/26 15:05
 * Description:
 */

@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    
    @Autowired
    private UserMapper userMapper;
    
    @Override
    public User checkLoginInfo() {
        // 校验登录账号、密码是否正确
        return new User();
    }

    @Override
    public User getUserById(String id) {
        return userMapper.getUserById(id);
    }
}
